import request from '@/router/axios'

//询价单承运商列表
export const getList = (current, size, params) => {
    return request({
        url: '/api/blade-tms/Inquiry/InquirySheet/carrier',
        method: 'get',
        params: {
            ...params,
            current,
            size,
        }
    })
}

//询价单承运商绑定
export const bindCarrier = (data) => {
    return request({
        url: '/api/blade-tms/Inquiry/InquirySheet/bind',
        method: 'post',
        data: {
            ...data
        }
    })
}

//询价单详情
export const getDetail = (params) => {
    return request({
        url: '/api/blade-tms/Inquiry/InquirySheet/detail',
        method: 'get',
        params: {
            ...params,
        }
    })
}